package com.music.dao;

import com.music.entity.UserLetter;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserLetterMapper {
    /**
     * 私信
     * @param userId
     * @param letter_user_id
     * @return
     */
    List<UserLetter> findByUserId(String userId, String letter_user_id);

    int add(UserLetter userLetter);
}
